/*Pandelis for Irene's QA 27/11/2024 */
/*breadcrumb convert to one line*/
.breadcrumbContainer .container.inner {
    overflow-x: auto;
}

.breadcrumbContainer {
    max-width: 100vw;
    overflow-x: hidden;
    white-space: nowrap;
    border: 1px solid red;
}

.breadcrumbContainer::-webkit-scrollbar {
    display: none;
}

.breadcrumbContainer ol {    
    white-space: nowrap;
    flex-wrap: nowrap;
}

/*menu hover color*/
.hasSubmenu .hasChildren a:hover span {
    color: #CC0233; 
}

.mainMenu .menuTop li.hasSubmenu .hasChildren a:hover .icon:before {
     color: #CC0233!important;
}

/*adjust underline on hover to be full width*/
.mainMenu .menu nav a {
    position: relative; 
    display: inline-block; 
}

.mainMenu .menu nav a:before {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0; 
    width: 0; 
    visibility: hidden; 
    -webkit-transition: width 0.15s ease, visibility 0.15s ease; 
    transition: width 0.15s ease, visibility 0.15s ease; 
}

.mainMenu .menu nav a:hover:before,
.mainMenu .menu nav a:focus:before,
.mainMenu .menu nav a.active:before {
    width: 100%;
    visibility: visible;
}

.mobileMenuToggle:before {
    content: unset;
}

/*adjust the texts on footerAboveOuterMobile to be one line and scrollable*/
.footerAboveOuterMobile .nav.nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
} 

nav.footerAboveOuterMobile {
    display: flex; 
    overflow-x: auto; 
    white-space: nowrap; 
}

nav.footerAboveOuterMobile button.nav-link {
    display: flex!important;
    flex-wrap: nowrap;
    white-space: nowrap; 
    flex-shrink: 0; 
}

.footerAboveOuterMobile .nav-tabs {
    display: flex;
    flex-wrap: nowrap; 
    width: 100%; 
}

/*adjust layout of footer logos column on mobile*/
@media (max-width: 576px) {
    .footerOuter .footerBottom .logosWrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px; 
        padding: 20px;
    }

    .footerOuter .footerBottom .logosWrapper .footerBrandsLink {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .footerOuter .footerBottom .logosWrapper img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    .footerOuter .footerBottomMobile a {
        margin: unset;
    }
    .footerOuter .footerBottom .logosWrapper .footerBrandsLink:nth-child(odd) {
        margin-right: unset;
        margin-top: unset;
    }
    .footerOuter .footerBottomMobile a:nth-child(n+3) {
        margin-top: 0px;
    }
    .footerOuter .footerBottom .logosWrapper .footerBrandsLink:nth-child(odd),
    .footerOuter .footerBottom .logosWrapper .footerBrandsLink:nth-child(even) {
        margin-left: 30px;
        margin-right: 30px;
    }
}

@media (max-width: 1024px) {
    .footerBottomMobile .rightTitle {
        z-index: 1!important;
        padding: 40px 0 0 0!important;
    }
}    

/*Fix the size of the cards that had isues*/
.missionSection__card {
    margin-right: 0;
    aspect-ratio: unset; 
    max-width: unset; 
}

@media (min-width: 768px) {
    .missionSection__card {
         aspect-ratio: unset;
         max-width: 100%; 
         margin-right: 30px; 
    }
}

/*fix the cars on Alumni Contact US Cards PL118 */
.cardImageFaculty__container {
    padding: 0 10px 0 10px;
}


/*Library Button Styles*/
#library-search-button {
    cursor: auto;
    pointer-events: pointer;  
}

#library-search-button.disabled {
    background-color: #ccc;
    cursor: not-allowed;
    pointer-events: none;  
}

.innerHeader .innerHeader__titleWithBg.blueGreen h1::before {
    background-color: #CC0033 !important;
}

.innerHeader .innerHeader__titleFull:before {
    opacity: 0.2;
    background: var(--Pierce-Colours-Pierce, #C03);
}

/*Blog cards fixes 2/12/2024 */
.blogFeatured .cardImageFaculty__level {   
    font-weight: 700;
    font-size: 20px;
    letter-spacing: .01em;
    line-height: 26px;
    color: #252159;
    margin-bottom: 17px;
    display: block;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
}

.blogFeatured .cardImageFaculty__division ,
.newsListing .cardImageFaculty__division{
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: .0075em;
    color: #66648b;
}

.blogFeatured .cardImageFaculty__department,
.latestNewsBlog .cardImageFaculty__department.co-pierce,
.newsListing .cardImageFaculty__department {
    font-weight: 700;
}

.blogFeatured .cardImageFaculty__department.co-pierce,
.latestNewsBlog .cardImageFaculty__department.co-pierce,
.newsListing .cardImageFaculty__department{
    color: #c03!important;
}

/*Fix Success Stories img sizes*/
.successStoriesListing .cards img {
    height: 220px;
    width: auto;
    object-fit: contain;
}

.newsInnerTop h1 {
    word-wrap: break-word;   
}

@media all and (min-width: 1200px) and (max-height: 1000px) {
    .homeBanner-title {
        font-size: 45px;
        line-height: 50px;
    }
    .homeBanner-spacing {
        margin-bottom: 30px !important;
    }
}

.shareButton ul {
    display: flex;
    flex-direction: row;
    height: 37px;
    transition: all .1s linear;
    visibility: hidden;
    width: 37px;
}
.shareButton:active ul, .shareButton:focus ul, .shareButton:hover ul {
    height: 37px;
    transition: .35s ease;
    visibility: visible;
    width: 208px;
}
.shareButton ul li:first-child {
    visibility: visible;
}
@media (min-width: 1024px) {
    .shareButton a {
        height: 52px;
        width: 52px;
    }
}
.shareButton a {
    align-items: center;
    display: flex;
    height: 37px;
    justify-content: center;
    width: 37px;
}
.shareButton {
    bottom: calc(100% - 500px);
    height: 37px;
    left: -64px;
    position: relative;
    background: white;
    transition: .35s ease;
    width: 37px;
}
.shareButton:active ul li, .shareButton:focus ul li, .shareButton:hover ul li {
    background-color: #fff;
    transition: .35s ease;
}

.shareButton ul li:first-child {
    visibility: visible;
}
.shareButton ul li {
    /*background: #ededf3;*/
    display: inline-block;
    transition: all .1s linear;
}


.shareButtonsFooter ul li a {
border: 2px solid #c03;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.shareButtonsFooter ul li .icon-share::before {
  font-size: 18px;
}


a.telFooterPierce {
    display: flex;
    align-items: flex-start;
    gap: 8px; 
    text-decoration: none;
    color: inherit;
}

.telFooterPierce svg {
    flex-shrink: 0; /* Prevent the SVG from shrinking */
}



@media (max-width: 768px) {
    a.telFooterPierce {
        flex-direction: column;
        align-items: flex-start; /* Stack the SVG above the text on smaller screens */
    }
}

a.telFooterPierce p {
    text-decoration: none;
}

a:hover.telFooterPierce p {
    text-decoration: underline; 
    text-decoration-color: #DB4D70; 
    text-underline-offset: 4px; 
    text-decoration-thickness: 2px;
}


/* Programs Carousel Homepage*/
@media all and (width >= 1280px) and (width <= 1600px) {
    .programsCarousel .swiper-slide-thumb-active .headingSmallBold {
        font-size: 24px;   
    }
}

/*OVERLAYS*/
.overlay-1 {
  width: 100%;
  height: 100%;
  position: absolute;
  top:0;
}
.overlay-1:after {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 20, 0.64);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.49) 0%, rgba(0, 0, 0, 0.49) 100%);
    z-index: 0;
}
.overlay-2 {
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 20px;
  top:0;
}        
.overlay-2:after {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 0;
    border-radius: 20px;        
}   

.newsListing.newLists .cardImageFaculty__department { text-transform: unset; }









